using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class PlayerState : State
{
    protected Player player;
    protected CapsuleCollider2D cc;
    public PlayerState(Player player, StateMachine stateMachine, string animName) : base(player, stateMachine, animName)
    {
        this.player = player;
    }

    public override void Enter()
    {
        base.Enter();
        cc = player.GetComponent<CapsuleCollider2D>();
    }
}
